#include "all.h"
#include "cond1.h"
#include "cond2.h"
#include "cond3.h"
#include "cond4.h"

int testAllConds(unsigned char *sbox) {
	int retval = 0;

	if(testCond1(sbox) != 0)
		retval |= 0x1;
	if(testCond2(sbox) != 0)
		retval |= 0x2;
	if(testCond3(sbox) != 0)
		retval |= 0x4;
	if(testCond4(sbox) != 0)
		retval |= 0x8;
	
	return retval;
}
